unit QRelPedClientesABC;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, QRCtrls, QuickRpt, ExtCtrls, DBTables, DB, DBClient;

type
  TFormQRelClientesABC = class(TForm)
    QuickRep1: TQuickRep;
    QRBand1: TQRBand;
    QRLabel1: TQRLabel;
    QRSysData1: TQRSysData;
    QRSysData2: TQRSysData;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel7: TQRLabel;
    QRLabel10: TQRLabel;
    QRShape2: TQRShape;
    QRTitulo: TQRLabel;
    QRTitulo2: TQRLabel;
    QRBand2: TQRBand;
    QRDBText1: TQRDBText;
    QRDBText2: TQRDBText;
    QRDBText7: TQRDBText;
    QRDBText9: TQRDBText;
    QRShape1: TQRShape;
    QRBand3: TQRBand;
    QRLabel12: TQRLabel;
    QREndereco: TQRLabel;
    QueryClientes: TQuery;
    QuerySoma: TQuery;
    cdsClientes: TClientDataSet;
    cdsClientesnome: TStringField;
    cdsClientestelefone: TStringField;
    cdsClientestotal_consumo: TCurrencyField;
    QRLabel4: TQRLabel;
    QRDBText3: TQRDBText;
    cdsClientesdt_ultima_compra: TStringField;
    cdsClientesacumulado: TFloatField;
    cdsClientesporcentagem: TFloatField;
    QRLabel5: TQRLabel;
    QRDBText4: TQRDBText;
    QRLabel6: TQRLabel;
    QRDBText5: TQRDBText;
    procedure QRDBText5Print(sender: TObject; var Value: String);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FormQRelClientesABC: TFormQRelClientesABC;

implementation

{$R *.dfm}

procedure TFormQRelClientesABC.QRDBText5Print(sender: TObject;
  var Value: String);
begin
Value := formatfloat('###,###,##0.00', StrToFloat(Value)) + ' %';
end;

end.
